package generator;

import generator.DddAggregate;
import generator.DddAggregateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DddAggregateDao {
    long countByExample(DddAggregateExample example);

    int deleteByExample(DddAggregateExample example);

    int deleteByPrimaryKey(String id);

    int insert(DddAggregate record);

    int insertSelective(DddAggregate record);

    List<DddAggregate> selectByExampleWithBLOBs(DddAggregateExample example);

    List<DddAggregate> selectByExample(DddAggregateExample example);

    DddAggregate selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") DddAggregate record, @Param("example") DddAggregateExample example);

    int updateByExampleWithBLOBs(@Param("record") DddAggregate record, @Param("example") DddAggregateExample example);

    int updateByExample(@Param("record") DddAggregate record, @Param("example") DddAggregateExample example);

    int updateByPrimaryKeySelective(DddAggregate record);

    int updateByPrimaryKeyWithBLOBs(DddAggregate record);

    int updateByPrimaryKey(DddAggregate record);
}